package com.dnui.seven2.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * 
 * @TableName performer
 */
@Data
public class Performer implements Serializable {
    /**
     * 
     */
    @TableId
    private Long performerId;

    /**
     * 
     */
    private String performerName;

    /**
     * 
     */
    private String performerStyle;

    /**
     * 
     */
    private Integer performerFans;

    /**
     * 
     */
    private Integer performerFollow;

    /**
     * 
     */
    private String performerDetails;

    /**
     * 
     */
    private String performerImage;

    /**
     * 
     */
    private String performerArtist;

    /**
     * 
     */
    private String performerProve;

    /**
     * 
     */
    private String performerResult;

    /**
     * 
     */
    private String administratorName;

    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Performer other = (Performer) that;
        return (this.getPerformerId() == null ? other.getPerformerId() == null : this.getPerformerId().equals(other.getPerformerId()))
            && (this.getPerformerName() == null ? other.getPerformerName() == null : this.getPerformerName().equals(other.getPerformerName()))
            && (this.getPerformerStyle() == null ? other.getPerformerStyle() == null : this.getPerformerStyle().equals(other.getPerformerStyle()))
            && (this.getPerformerFans() == null ? other.getPerformerFans() == null : this.getPerformerFans().equals(other.getPerformerFans()))
            && (this.getPerformerFollow() == null ? other.getPerformerFollow() == null : this.getPerformerFollow().equals(other.getPerformerFollow()))
            && (this.getPerformerDetails() == null ? other.getPerformerDetails() == null : this.getPerformerDetails().equals(other.getPerformerDetails()))
            && (this.getPerformerImage() == null ? other.getPerformerImage() == null : this.getPerformerImage().equals(other.getPerformerImage()))
            && (this.getPerformerArtist() == null ? other.getPerformerArtist() == null : this.getPerformerArtist().equals(other.getPerformerArtist()))
            && (this.getPerformerProve() == null ? other.getPerformerProve() == null : this.getPerformerProve().equals(other.getPerformerProve()))
            && (this.getPerformerResult() == null ? other.getPerformerResult() == null : this.getPerformerResult().equals(other.getPerformerResult()))
            && (this.getAdministratorName() == null ? other.getAdministratorName() == null : this.getAdministratorName().equals(other.getAdministratorName()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPerformerId() == null) ? 0 : getPerformerId().hashCode());
        result = prime * result + ((getPerformerName() == null) ? 0 : getPerformerName().hashCode());
        result = prime * result + ((getPerformerStyle() == null) ? 0 : getPerformerStyle().hashCode());
        result = prime * result + ((getPerformerFans() == null) ? 0 : getPerformerFans().hashCode());
        result = prime * result + ((getPerformerFollow() == null) ? 0 : getPerformerFollow().hashCode());
        result = prime * result + ((getPerformerDetails() == null) ? 0 : getPerformerDetails().hashCode());
        result = prime * result + ((getPerformerImage() == null) ? 0 : getPerformerImage().hashCode());
        result = prime * result + ((getPerformerArtist() == null) ? 0 : getPerformerArtist().hashCode());
        result = prime * result + ((getPerformerProve() == null) ? 0 : getPerformerProve().hashCode());
        result = prime * result + ((getPerformerResult() == null) ? 0 : getPerformerResult().hashCode());
        result = prime * result + ((getAdministratorName() == null) ? 0 : getAdministratorName().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", performerId=").append(performerId);
        sb.append(", performerName=").append(performerName);
        sb.append(", performerStyle=").append(performerStyle);
        sb.append(", performerFans=").append(performerFans);
        sb.append(", performerFollow=").append(performerFollow);
        sb.append(", performerDetails=").append(performerDetails);
        sb.append(", performerImage=").append(performerImage);
        sb.append(", performerArtist=").append(performerArtist);
        sb.append(", performerProve=").append(performerProve);
        sb.append(", performerResult=").append(performerResult);
        sb.append(", administratorName=").append(administratorName);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}